#include<stdio.h>
int main()
{
	int a = 1;
	printf("%d\n", a++);
	printf("%d\n", a);
	printf("%3d\n", a);
	printf("%-3d\n", a);
	float b = 3.0;
	printf("%.2f\n", b);
	printf("%5.2f\n", b);
	printf("%-5.2f\n", b);
	printf("%*.*f\n", -5, 2, b);
	printf("%.5s\n", "hello world");
	return 0;
}